package com.weight.system.sensor.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 传感器错误标记表
 */
@Data
public class SensorInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "命令记录id")
	@JSONField(name = "sensorInfoId")
	private String sensorInfoId; //命令记录id

	@Excel(name = "传感器")
	@NotBlank(message = "传感器不能为空")
	@JSONField(name = "sensorNum")
	private String sensorNum; //传感器

	@Excel(name = "传感器错误码")
	@NotBlank(message = "传感器错误码不能为空")
	@JSONField(name = "sensorDesc")
	private String sensorDesc; //传感器错误码

	@Excel(name = "命令状态")
	@NotNull(message = "命令状态不能为空")
	@JSONField(name = "sensorStatue")
	private Integer sensorStatue; //命令状态

	@Excel(name = "记录命令时间")
	@NotBlank(message = "记录命令时间不能为空")
	@JSONField(name = "sensorDate")
	private String sensorDate; //记录命令时间


	public  SensorInfoVO(){
		super();
	}

	public  SensorInfoVO(String sensorInfoId,String sensorNum,String sensorDesc,Integer sensorStatue,String sensorDate){
		super();
		this.sensorInfoId = sensorInfoId;
		this.sensorNum = sensorNum;
		this.sensorDesc = sensorDesc;
		this.sensorStatue = sensorStatue;
		this.sensorDate = sensorDate;
	}

}